﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StyleMVVM.Data
{
	public interface IDataAccessAdapter<T, TKey>
	{
		Task<T> Get(TKey key);

		Task<T> Create(T newT);

		Task<T> Update(T updateT);

		Task Delete(TKey oldKey);

		Task Delete(T oldValue);
	}
}